package cate.common.table.res.drop.row;


import cate.common.table.ERow;
import cate.common.table.XSSFRowWrap;
import easy.java.dev.note.NoteClass;
import easy.java.dev.note.NoteField;

@NoteClass("挂机资源袋")
public class HangBagRow extends ERow {
    @NoteField("类型")
    public int type;

    @NoteField("挂机分钟数")
    public int hangMinute;

    @Override
    public void parse(XSSFRowWrap xr) {
        this.id = xr.getInteger("物品ID");
        this.type = xr.getInteger("类型", 0);
        this.hangMinute = xr.getInteger("挂机分钟数", 0);
    }

    @Override
    public void decode() {}
}
